<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- TemplateBeginEditable name="doctitle" -->
	<title>Consultar vendedores</title>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="head" -->
	<!-- TemplateEndEditable -->
	
	<link rel="stylesheet" href="style.css" type="text/css">
</head>

<body>

<div class="container">
  <div class="header"><a href="#"><img src="banner.jpg" alt="Insert Logo Here" name="Insert_logo" width="960" height="90" id="Insert_logo" style="background: black; display:block;" /></a>
    <!-- end .header --></div>
  <div class="sidebar1">
    <ul class="nav">
      <li><a href="paginaPrincipal.jsp">P&aacute;gina Principal</a></li>
      <li><a href="/Concessionaria/Concessionaria?operacao=listarVendedores&corrente=1">Vendedores</a></li>      
      <li><a href="/Concessionaria/Concessionaria?operacao=cadastrarVendedores&corrente=9">Cadastrar</a></li>      
    </ul>
    
    <%@page import="java.util.* "%>
	<%@page import="org.dw.concessionaria.BEAN.VendedorBEAN" %>

    <table width="180" border="0" style="text-align:center">
  <tr>
    <th scope="row" bgcolor="#ADB96E">Login</th>
  </tr>
  <tr>
    <th scope="row">Ol&aacute;, <%=session.getAttribute("logado") %></th>
  </tr>
  <tr> 
  	<td><a href="/Concessionaria/Concessionaria?operacao=logoff&corrente=1">Logoff</a></td>
  </tr>
</table>

    	<%
    	VendedorBEAN vendedor = new VendedorBEAN();		
    	vendedor = (VendedorBEAN)session.getAttribute("vendedorSelecionado");
		%>

    <!-- end .sidebar1 --></div>
  <div class="content">
    <h1>Dados do Vendedor</h1>
    <form id="form1" name="form1" method="post" action="">
    <div class="table_form">
    <table width="698" border="0" style="text-align: left" cellspacing="10px">
      <tr>
        <th width="182" scope="row">RG</th>
        <td width="360"><input name="rg" type="text" dir="ltr" size="60" readonly value="<%=vendedor.getRg()%>"/></td>
      </tr>
      <tr>
        <th width="182" scope="row">Nome</th>
        <td width="360"><input name="nome" type="text" dir="ltr" size="60" value="<%=vendedor.getNome()%>"/></td>
      </tr>
      <tr>
        <th width="182" scope="row">Anos de experi&ecirc;ncia</th>
        <td width="360"><input name="anosExperiencia" type="text" dir="ltr" size="60" value="<%=vendedor.getAnos()%>"/></td>
      </tr>      
      <tr>
        <th width="182" scope="row">Telefone</th>
        <td width="360"><input name="telefone" type="text" dir="ltr" size="60" value="<%=vendedor.getFone()%>"/></td>
      </tr>     
      <tr></tr>
      <tr></tr>
      <tr>
      <th align="center">&nbsp;</th>   
      <th align="center"><input name="editar" type="submit"  value="Salvar altera&ccedil;&otilde;es" style="width:130px; height:27px"/>        <input name="remover" type="button"  value="Remover" style="width:90px; height:27px"/>
        <input name="cancelar" type="button"  value="Cancelar" style="width:90px; height:27px"/></th>
      <th>&nbsp;</th>      
      </tr>

      
    </table>        
    </div>
        <input type="hidden" size="3" name="corrente" value="10" />
    </form>
    <p>&nbsp;</p>
    <h2>&nbsp;</h2>

    
    <!-- end .content --></div>
  <div class="footer">
    <p>    
    </p>
    <!-- end .footer --></div>
  <!-- end .container --></div>
</body>
</html>
